package org.thirdHero.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.thirdHero.db.domain.SysRelation;
import org.thirdHero.db.domain.SysRelationExample;

public interface SysRelationMapper {
    long countByExample(SysRelationExample example);

    int deleteByExample(SysRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysRelation record);

    int insertSelective(SysRelation record);

    SysRelation selectOneByExample(SysRelationExample example);

    SysRelation selectOneByExampleSelective(@Param("example") SysRelationExample example, @Param("selective") SysRelation.Column ... selective);

    List<SysRelation> selectByExampleSelective(@Param("example") SysRelationExample example, @Param("selective") SysRelation.Column ... selective);

    List<SysRelation> selectByExample(SysRelationExample example);

    SysRelation selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SysRelation.Column ... selective);

    SysRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysRelation record, @Param("example") SysRelationExample example);

    int updateByExample(@Param("record") SysRelation record, @Param("example") SysRelationExample example);

    int updateByPrimaryKeySelective(SysRelation record);

    int updateByPrimaryKey(SysRelation record);
}